﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xAtom_Buffer_Load（xAtom_Buffer类型对象从文件读数据）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xAtom_Buffer_Load(x As xAtom_Buffer Ptr, p As WString Ptr, a As UInteger = 0, s As UInteger = 0) As Integer<br>int xAtom_Buffer_Load(xAtom* x, wchar* p, unsigned int a, unsigned int s);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xAtom_Buffer_Load(ByVal x As Long, ByVal p As Long, ByVal a As Long, ByVal s As Long) As Long</P>
<P>参数：<br>x：xAtom对象指针（仅限xAtom_Buffer）<br>p：文件路径<br>a：从哪里开始读（为0则从第一个字节开始读）<br>s：读多长（为0则读取开始点到最后的剩余长度）</P>
<P>返回成功或者失败</P>
<P>说明：<br>从文件加载数据到缓冲区。</P>
</body>
</html>